package com.wngz.api;

import com.wngz.common.model.dto.user.UserRegisterRequest;
import com.wngz.common.result.BaseResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "provider",path = "/user")
public interface UserApi {

    @PostMapping("/register")
    BaseResponse<Long> userRegister(@RequestBody UserRegisterRequest userRegisterRequest);
//
//    @PostMapping("/remove")
//    Result remove(@RequestParam("id") Integer id);


}
